package com.ehotting.edsta.circuitDesign.service;

import com.ehotting.mqbd.api.bean.MQDataAble;
import com.ehotting.mqbd.api.bean.MQHttpData;

import java.util.concurrent.FutureTask;


public interface AsyncService {

    public  FutureTask<MQDataAble> asyncTask(MQHttpData mqData);

    public  MQHttpData cancelTask(MQHttpData mqData);

    String testCancelTask(MQHttpData mqData);

    public void sendWebsocket(MQHttpData mqData, String action, String msg);

    public void sendWebsocket(MQHttpData mqData);

}
